package com.app.service.impl;

import com.app.mapper.RoleMapper;
import com.app.mapper.UpdateMaMapper;
import com.app.model.RoleModel;
import com.app.model.UpdateMaModel;
import com.app.service.RoleService;
import com.app.service.UpdateMaService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Primary
public class UpdateMaServiceImpl implements UpdateMaService {
   @Autowired
    UpdateMaMapper updateMaMapper;



    @Override
    public void update(UpdateMaModel model) {
        updateMaMapper.updateById(model);
    }

    @Override
    public void insert(UpdateMaModel model) {
        updateMaMapper.insert(model);
    }

}
